/*
-----------------------------------------------------------------------------
This source file is part of Labor3D
(Labor 3D Graphics Engine)

Copyright (c) 2009-2020 Rock Mao
* creator : Rock Mao
* created : 2009-5-2   21:45
* filename: LaborD3D10.cpp

-----------------------------------------------------------------------------
*/
#include "LaborD3D10Def.h"
#include "LaborD3D10Plugin.h"
#include "LaborCore.h"
NAMESPACE_LABOR3D_BEGIN

CLD3D10Plugin* plugin;

extern "C" void LABORD3D10_API dllStartPlugin(void) throw()
{
	plugin = new CLD3D10Plugin();
	GetLaborCore()->installPlugin(plugin);
}

extern "C" void LABORD3D10_API dllStopPlugin(void)
{
	GetLaborCore()->uninstallPlugin(plugin);

	delete plugin;
}

NAMESPACE_LABOR3D_END